<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<link href="./bootstrap/css/bootstrap.min.css" rel="stylesheet">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
<form action="InsertServlet?dataBase=edu_system&tableName=student" >

 <table align="center" border="1" width="100%" class="table table-striped table-bordered">  
     <tr>
         <th colspan="2" style="text-align:center" >添加学生记录</th>
    </tr>
    <tr>
        <td align="right" width="50%">学生学号：</td>   
        <td align="left" ><input type="text" name="ID" autocomplete="off"></td>
    </tr>
    <tr>
        <td align="right" >学生姓名：</td> 
         <td align="left" ><input type="text" name="user" autocomplete="off"></td>
     </tr>
    <tr>
        <td align="right" >学生密码：</td>
         <td align="left" ><input type="text" name="passwd" autocomplete="off"></td>
   </tr>
   <tr>
        <td align="right" >学生性别：</td>
         <td align="left" ><select name="gender" class="select">
					<option>男</option>
					<option>女</option>
					<option></option>
				</select></td>
   </tr>
 
       <tr>
        <td align="right" >学生班级：</td>
        <td align="left" ><input type="text" name="class" autocomplete="off"></td>
     </tr>
        <tr>
        <td align="right" >课程列表：</td>
        <td align="left" ><input type="text" name="course" autocomplete="off"></td>
    </tr>
    <tr>
        <td align="right" >电话号码：</td>
         <td align="left" ><input type="text" name="phone" autocomplete="off"></td>
   </tr>
   <tr>
        <td align="right" >身份证号：</td>
         <td align="left" ><input type="text" name="identity" autocomplete="off"></td>
   </tr>
   <tr>
        <td align="right" >居住地址：</td>
         <td align="left" ><input type="text" name="location" autocomplete="off"></td>
   </tr>
    <tr>
        <td align="right" >全部学分：</td>
        <td align="left" ><input type="text" value="0" name="credit" autocomplete="off"></td>
    </tr>
    <tr>
        <td colspan="2" align="center" ><input type="submit" class="btn btn-success" name="submit" value="添加"></td>
     </tr> 
 </table>
 </form>
 
</body>
</html>